//
//  HistoryOrderRequest.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/7/13.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit

class HistoryOrderRequest: BaseRequest {
    var isLeverHistory:Bool = false
    override func path() -> String {
        if isLeverHistory {
            return Api.Leveraged.leverHistory
        }
        return Api.Exchange.historyOrder
    }
    override func method() -> HTTPMethodType {
        return .get
    }
   
}
